ASP.NET MVC Controls
ListBox<T> Class Members
Properties  Methods 

The following tables list the members exposed by ListBox<T>.

Public Constructors
 NameDescription
Public ConstructorListBox<T> ConstructorCreate one ListBox instance.  
Top
Public Properties
 NameDescription
Public PropertyCheckedIndexesGets or sets a list containing the indexes of checked items.  
Public PropertyCheckedMemberPathGets or sets the name of the property used to control checkboxes placed next to each item.  
Public PropertyCheckedValuesGets or sets a list containing the item-values that are currently checked.  
Public PropertyComponentsGets the child components. (Inherited from C1.Web.Mvc.Component)
Public PropertyCssClassGets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyCssStylesGets the CSS styles. (Inherited from C1.Web.Mvc.Control)
Public PropertyDisplayMemberPathGets or sets the name of the property to use as the visual representation of the items.  
Public PropertyHeightGets or sets the height of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyHtmlAttributesGets the HTML attributes. (Inherited from C1.Web.Mvc.Control)
Public PropertyIdGets or sets the component id. (Inherited from C1.Web.Mvc.Component)
Public PropertyIsContentHtmlGets or sets a value indicating whether the list displays items as plain text or as HTML.  
Public PropertyIsDisabledGets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control)
Public PropertyIsTemplateGets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control)
Public PropertyItemFormatterGets or sets a function used to customize the values shown in the list.  
Public PropertyItemsSourceGets ItemsSource settings. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
Public PropertyItemsSourceIdGets or sets the ItemsSourceId specify which CollectionViewService will be used for this control. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
Public PropertyItemTemplateContentGets or sets the id of the template used to generate each list item.  
Public PropertyItemTemplateIdGets or sets the id of the template used to generate each list item.  
Public PropertyMaxHeightGets or sets the maximum height of the list.  
Public PropertyOnClientCheckedItemsChangedOccurs when the value of the @see:checkedItems property changes.  
Public PropertyOnClientFormatItemOccurs when an element representing a list item has been created.  
Public PropertyOnClientGotFocusOccurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOnClientItemCheckedOccurs when the current item is checked or unchecked.  
Public PropertyOnClientItemsChangedOccurs when the list of items changes.  
Public PropertyOnClientLoadedItemsOccurs after the list items are generated.  
Public PropertyOnClientLoadingItemsOccurs before the list items are generated.  
Public PropertyOnClientLostFocusOccurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOnClientSelectedIndexChangedOccurs when the value of the SelectedIndex property changes.  
Public PropertySelectedIndexGets or sets the index of the currently selected item in the list.  
Public PropertySelectedItemGets or sets the item that is currently selected in the list.  
Public PropertySelectedValueGets or sets the value of the SelectedItem, obtained using the SelectedValuePath.  
Public PropertySelectedValuePathGets or sets the name of the property used to get the SelectedValue from the SelectedItem.  
Public PropertySelectorGets or sets a value which specifies the selector. (Inherited from C1.Web.Mvc.Control)
Public PropertyTemplateBindingsGets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control)
Public PropertyUniqueIdGets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyWidthGets or sets the width of the control. (Inherited from C1.Web.Mvc.Control)
Top
Public Methods
 NameDescription
Public MethodRenderRender the component result to the writer. (Inherited from C1.Web.Mvc.Control)
Public MethodToHtmlStringReturns an HTML-encoded string. (Inherited from C1.Web.Mvc.Component)
Top
Extension Methods
 NameDescription
Public Extension MethodToTemplateRender the html string in template mode.
Top
See Also

Reference

ListBox<T> Class
C1.Web.Mvc Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback